-- GENERATED SPELL FOR [Deviate Shambler] --


function spell0_5761(pUnit, Event) --@Wild Regeneration,Self--
pUnit:FullCastSpellOnTarget(7948,pUnit)
pUnit:RegisterEvent('Sorts_5761', 23000, 1)
end

function Sorts_5761(pUnit, Event)
local choix_sorts_5761 = math.random(0, 0)
if choix_sorts_5761 == 0 then
pUnit:RegisterEvent('spell0_5761', 1, 1)
end
end

function mob5761_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5761', math.random(1500, 3000), 1)
end

function mob5761_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5761_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5761_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5761, 1, 'mob5761_Action')
RegisterUnitEvent(5761, 2, 'mob5761_Leave')
RegisterUnitEvent(5761, 3, 'mob5761_Kill')
RegisterUnitEvent(5761, 4, 'mob5761_Die')
